﻿<cfsilent>
	<cfscript>
		
		menuArgs = structNew();
		
		structInsert(menuArgs, "TID", event.getArg("TID"), true);
		structInsert(menuArgs, "TSK", event.getArg("TSK"), true);
		structInsert(menuArgs, "TT", event.getArg("TT"), true);

		if ( event.isArgDefined("TSKTIME") ) {
			structInsert(menuArgs, "TSKTIME", event.getArg("TSKTIME"), true);
		}
		if ( event.isArgDefined("W") ) {
			structInsert(menuArgs, "W", event.getArg("W"), true);
		}
		if ( event.isArgDefined("DOCID") ) {
			structInsert(menuArgs, "DOCID", event.getArg("DOCID"), true);
		}
		
		classStep01 = classStep02 = classStep03 = "";
		classStep04 = "lastStep";
		
		if ( event.getRequestName() eq "taskChangeWizardStop" ) {
			classStep01 = listAppend(classStep01, "current", " ");
		}
		
		if ( event.getRequestName() eq "taskChangeWizardStopLecture" ) {
			classStep01 = listAppend(classStep01, "lastDone", " ");
			classStep02 = listAppend(classStep02, "current", " ");
		}
		
		if ( event.getRequestName() eq "taskChangeWizardStopSign" ) {
			classStep01 = listAppend(classStep01, "done", " ");
			classStep02 = listAppend(classStep02, "lastDone", " ");
			classStep03 = listAppend(classStep03, "current", " ");
		}
		
		if ( event.getRequestName() eq "taskChangeWizardStopPrint" ) {
			classStep01 = listAppend(classStep01, "done", " ");
			classStep02 = listAppend(classStep02, "done", " ");
			classStep03 = listAppend(classStep03, "lastDone", " ");
			classStep04 = listAppend(classStep04, "current", " ");
		}
		
	</cfscript>
</cfsilent>

<div class="UIWizard clearfix">
	<ul class="fourStep stepNavigation">
		
		<li class="<cfoutput>#classStep01#</cfoutput>"><a <cfif listFind(classStep01, "current", " ") or listFind(classStep02, "current", " ") or listFind(classStep03, "current", " ")> href="<cfoutput>#buildURL('taskChangeWizardStop', menuArgs)#</cfoutput>"</cfif>><em>选择周次</em><span>选择要停课的周次</span></a></li>
		<li class="<cfoutput>#classStep02#</cfoutput>"><a <cfif listFind(classStep02, "current", " ") or listFind(classStep03, "current", " ")> href="<cfoutput>#buildURL('taskChangeWizardStopLecture', menuArgs)#</cfoutput>"</cfif>><em>选择时间</em><span>该周次停课讲次</span></a></li>
		<li class="<cfoutput>#classStep03#</cfoutput>"><a <cfif listFind(classStep03, "current", " ")> href="<cfoutput>#buildURL('taskChangeWizardStopSign', menuArgs)#</cfoutput>"</cfif>><em>停课申请单</em><span>填写停课原因</span></a></li>
		<li class="<cfoutput>#classStep04#</cfoutput>"><a <cfif listFind(classStep04, "current", " ")> href="<cfoutput>#buildURL('taskChangeWizardStopPrint', menuArgs)#</cfoutput>"</cfif>><em>回执</em><span>查看停课记录</span></a></li>
	
	</ul>
</div>



